package com.iw.test.db;

import java.util.List;

import javax.annotation.Resource;

import org.junit.Test;

import com.iw.core.security.entity.Resources;
import com.iw.core.security.service.ResourcesService;

public class JResourcesService extends DBBase {
	@Resource
	private ResourcesService resourcesService;

	@Test
	public void testUserResources() {
		List<Resources> setResuorces = resourcesService.findMenu(1);
		for (Resources r : setResuorces) {
			System.out.println(r.getGroup());
		}
	}
}
